<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/12/10
  Time: 18:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Type信息展示</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
</head>
<body>
<table class="layui-table">
    <tr>
        <th>typeid</th>
        <th>typename</th>
        <th>操作</th>
    </tr>
    <c:forEach var="o" items="${requestScope.type}">
        <tr>
        <td>${o.typeid}</td>
        <td>${o.typename}</td>
            <td><%--获得项目名 项目路径  --%>
                <a class="layui-btn" href="${pageContext.request.contextPath}/typ/xiu?typeid=${o.typeid}">修改</a>
                <a  class="layui-btn layui-btn-danger" href="${pageContext.request.contextPath}/typ/del?typeid=${o.typeid}">删除</a>
            </td>
        </tr>

    </c:forEach>
</table>
</body>
</html>
